package com.bjpowernide.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping(value = "/index")
public class IndexController {

    @RequestMapping("/say")
    @ResponseBody
    public String say() {
        return "hello, world";
    }
}
